package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_cat_activity_upgrade", autoSave = true,uploadCk = true,desc = "怪化猫-退魔剑升级")
public class LogCatActivityUpgrade extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "类型：1、退魔剑；2、星数")
    private int type;

    @FieldTypeAnnotation(desc = "数值")
    private int val;

    @FieldTypeAnnotation(desc = "当前累计体力消耗")
    private int curUseEnergy;

    @FieldTypeAnnotation(desc = "当前累计游戏场次")
    private int curGameTimes;

    @FieldTypeAnnotation(desc = "当前关卡持续时间；0、表示当前关卡已结束")
    private long curDuration;


    public LogCatActivityUpgrade(long userId, int activityId, int type, int val, int curUseEnergy, int curGameTimes, long curDuration) {
        this.userId = userId;
        this.activityId = activityId;
        this.type = type;
        this.val = val;
        this.curUseEnergy = curUseEnergy;
        this.curGameTimes = curGameTimes;
        this.curDuration = curDuration;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public int getCurUseEnergy() {
        return curUseEnergy;
    }

    public void setCurUseEnergy(int curUseEnergy) {
        this.curUseEnergy = curUseEnergy;
    }

    public int getCurGameTimes() {
        return curGameTimes;
    }

    public void setCurGameTimes(int curGameTimes) {
        this.curGameTimes = curGameTimes;
    }

    public long getCurDuration() {
        return curDuration;
    }

    public void setCurDuration(long curDuration) {
        this.curDuration = curDuration;
    }

}
